package day02;

public class VarDemo {
    public static void main(String[] args) {
        int a = 3;
        int b,c,d;
        int e = 200;
        int f;
        f = 300;
        f = 280;
        int g = 100,h,i = 200,j = 1;
        System.out.println(a);  //使用过的变量名称会变色
        System.out.println(g);
        int balance = 5000;
        balance = balance+1000;
        System.out.println(balance);
        balance = balance-2000;
        System.out.println(balance);
        //变量的命名:不能包含特殊符号，不能以数字开头
        //小驼峰命名法:首个单词首字母小写，其余单词首字母大写
        //大驼峰命名法:所有单词首字母都大写
    }
}
